cmake_minimum_required(VERSION 3.0)
project(h264_test)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)

file(GLOB SOURCES "src/*.c")

# 添加可执行文件
add_executable(h264_test ${SOURCES})

# 为 MyExecutable 添加头文件路径
target_include_directories(h264_test PRIVATE ${CMAKE_SOURCE_DIR}/include)